version: 0.1
log:
  fields:
    service: registry
storage:
    cache:
        layerinfo: inmemory
{% if docker_registry_rootdirectory is defined and docker_registry_rootdirectory|length %}
    filesystem:
        rootdirectory: {{ docker_registry_rootdirectory }}
{% endif %}        
    maintenance:
        uploadpurging:
            enabled: true
            age: {{ docker_registry_uploadpurging_age }}
            interval: 24h
            dryrun: false
    delete:
        enabled: true
http:
    addr: {{ docker_registry_http_addr }}
